import requests

url = 'https://httpbin.org/get'
params = {
    'name': 'tynam'}

response = requests.get(url=url,params=params)

print(f"请求接口的地址是：{response.url}")
print(response.json())
